Speed increases with translate3d, caching element dimensions.