added dynamic appbar to main page but unlocked all pivots