adaptive page width
added scale
new center point
cleaned up zooming functions