handle rotation on learning view controller