1) Yes, when you add an item to the cart, a form post happens.
when the form post happens, it makes the last page in the history the same page as the form is on.
Instead of trying to use the history, you should use standard links. the history will be unreliable with the add to cart form submit.
2) i would need to see the code in order to troubleshoot.