make sure buttons aren't displayed after scrolling