Adding Math.round to all inline CSS styles values

Add Math.round() to all inline CSS styles values which are in pixels.
The CSS transition in Web-kit browsers makes the little arrow move if
the the inline CSS widths and positions are not integers.