smarter browser positioning