handle gesture 4 directions