Need to pass some vars to the browser

Signed-off-by: Suki <suki@missallsunday.com>
var numberOfScrollEvents

Signed-off-by: Suki <suki@missallsunday.com>
Pass the total amount of items

Signed-off-by: Suki <suki@missallsunday.com>
Get the much needed vars from the browser

Signed-off-by: Suki <suki@missallsunday.com>
Set a notification if there was an error

Signed-off-by: Suki <suki@missallsunday.com>
Fix the globals

Signed-off-by: Suki <suki@missallsunday.com>
Have we reached the end?

Signed-off-by: Suki <suki@missallsunday.com>
Make the session stuff be part of window global object

Signed-off-by: Suki <suki@missallsunday.com>
Some fixes

Signed-off-by: Suki <suki@missallsunday.com>
Move the scroll code to its own file for better handling

Signed-off-by: Suki <suki@missallsunday.com>
Avoid using "settings" since theres already a global var

Signed-off-by: Suki <suki@missallsunday.com>