better snake movement loop