added html and styles for maximized state with sidebar