working solution with jumping main object, normal object moving on grid