tweak for selected page
fix flicker