Fixed iframe and added hashchange event