css to fix rotation issue