redirect to first page when last page done