Added the ability to move back and forward cross domain