Implemented clicking. Listening for swipes