Prevent scrollbar x from moving out of the container.
Add jshint files.
Code refactoring.
Release 0.3.4.

Patch notes
1. Fix the bug that scrollbars don't stop at the end.
2. Code refactoring.