Fix the transitions for sidebar toggle