Added a 'to' method for programmatic transitioning, fixed the pagechange event, added examples for events and programmatic transitions.