docs(sidenav): add code comment explaining use of rAF