Made popup window relative in heigth