Countdown that only counts down if the user sees the page. Uses the Visibility API