wrap snake location, correct snake movement