better handeling of gestures