Scale hookes law simulator to screen height