setting a root view controller allows auto-rotation to work