added router, a lot of fruitless fiddling with scroller-related stuff