Adding transitions for sidebar