added savedViewController to work around iOS6 bug on rotation