updated minotaur movement code