updated rotation for IE8