Fixed viewnext and viewprev for no-screen case