Added css rotation on submit