Styling for transitioning between sidebar and topbar