fixing text rotation for firefox