practicing physics and affecting objects via DOM manipulation