Adding rotate compability code for all browsers
changing styling