Removed dubious repaint optimisation - http://dev.opera.com/articles/view/efficient-javascript/#invisibleelement
More straightforward rounding of item's z-index value