cross browsering in rotate div
modified exam controller