fixed search scrolling to keep text from going beyond the bottom