add strokeRectangle image and track the gravity animation