smoother transitions
Merge pull request #1 from Zolmeister/js

smoother transitions