rotate gesture fix