Added landscape mode for popupwindow