JavaScript that can be used to simulate vh unit functionality (since it isn't supported well on mobile)