some janitoring stuff

* cleaning up code, remove senseless stuffs.
* don't stop while scrolling back to the beginning
make scrolling little fancier

* scroll first line too, if necessary.
* make padding pattern configurable. defined two default padding patterns