some basic movement math in element controller class to test elements