countdown and transfer to another page