Add support for auto-scroll

Add stop event
Move retrieving calendar data to its own function
Move init function to provider.js