changed movement of main sprite