Rotating the triangle with user input