fixed popup position when showing at the bottom