Making all movement variables independent of screen dimensions.