fixes jankiness with anchor tags in carousel.