Recalibrate the screen if you feel that the screen orientation does not respond properly to the way you hold
Slide the Notifications panel open, and then tap .
Display, gestures & buttons (or
Display & buttons) and then tap
HTC One on a flat and level surface, and then tap
After the recalibration process, tap