Improoving page switching. Working on internal page routing made by tab changing