Make sidebar and header scroll with viewer

Makes the sidebar and header scroll with the viewer.
Merge pull request #1 from Drew10801/master

Make sidebar and header scroll with viewer