preferences for toggle and side_bar