added base.js w/ logic to handle right-side slide out menu