added movelogic to gui