updated the delegate

added a delegate method for back button touch ,forward button touch
,And changed the signature of the delegate method which is called when
user close the browser