Refactor side bar toggle code
Update to minified angular