prevent opposite direction changes