moved from physicsFactory to assignment class. Tested moving sliders in update method