better scrolling / key handling in popup