style(sidenav): modifies transition code for consistency