refactor activePage to not activate all displays
update/fix bug with custom routes