adjust layout and side menu