fix flicker bug and reduce homepage links