mouse and gravity improvements for mobile