improve automatic snake movement