add function reload ads to back and forward button