centering the viewable window