change how forward/backward paragraph works