calculate objects position according with the current screen size