removed hacky code for popupview being the right size