fix for popup long item scroll and size bug