Click and drag to rotate the frame