Made code a little better cleaning up duplicates
Removed unused variables
Built client script with proportional scroll