Sidebar expand uses CSS transitions if possible

need to refctor into sidebar view