added jqueryrotate support