Do some trickery to make reset work on all pages