added appbar switching within pivots