added better motion physics for main sprite