fix bug related to cart misplacing itself if you scroll down far and click a button