Adding the grab gesture listener.