bug# 446, #236, adjust scrollbar for auto zooming