Used gesture.py's smooth_scroll method for maintainability and consistency
Made scripts PEP8 compliant