add toggle on pages