use ReaderRolling.view_mode instead of self.ui.document.view_mode

view_mode is removed from self.ui.document