Cleaned gesture implementation and put into GestureHandler class