wip smooth scroll
some code improves and pep8
Merge pull request #1758 from diegosarmentero/master

some code improves and pep8