Fix main sidebar transitions