removes the additional padding parameter and switches to using Math.ciel() to round up for browsers that don'e support sub-pixels