Grafana in iframe, "back" history

So I’m facing same problem:
Grafana page is inside iframe, and when I click “back” button, instead of getting back to the previous page I get navigated back through Grafanas page in iframe.
as described here
http://www.webdeveasy.com/back-button-behavior-on-a-page-with-an-iframe/
Suggested solution is to add the anchor in the iframe, which is seems not possible to me, as inside iframe grafanas page…

Not sure there is anything Grafana can do about this behavior.