add hide_sidebar_in_portrait_mode preference