detect when moving backwards, issue #152