fixed bug in popupbutton scrolling