move sidebar_nav -> sidebar and add js automatically

change main index to sidebar, maybe I'll actually do something with it this
time...