autoPanPadding working for popup