Adjusted viewer to fit entire window.