added popupview for iPad