fix for the pop-up vertical alignment.