Trying to fix getting stuck on bottom page.