simplified class and created vertical and linear gesture methods

Change-Id: I873d72b9282a5164f7f5fc0d0b1eb90e0088d807