Finished SGB viewer. Fixed a bug with scrollbars.

Finished SGB viewer. Fixed a bug with scrollbars.