Fix issue 1390

Check mouse wheel movement in addition to mouse buttons down and touch events to remove the bounce back animations and handle the input.