tweaked zooming layout
data and style are no longer functions