refactor(sidenav): fixes animation issue in previous commit