tweaks to css and javascript centering behaviorwhen changing zoom levels