Fix sidebar for responsiveness

On resizing the window, the sidebar stays fixed in the side. Using affix() instead so that the sidebar is on top when the window is resized