Changes to Make Histroy HTML5 API work properly when we move forward . Popstate is yet to be implemented