added in speed scailing based on screen size