Get dimension attributes directly to avoid reflow.
Styled the zoom slider for WebKit and Gecko.

https://bugzilla.mozilla.org/show_bug.cgi?id=932410