smarter popup movement