Changed scrollbar positioning.
Removed commented out functions.