Change sidebar to static if there is not enough space

Solves https://github.com/OSU-Net/cyder/issues/774 by using media queries to change the sidebar to static from fixed