Fixed bugs with router and added Adapt.scrollTo to api

Fixes #252