fixed resolution problems with the gestures