pass selected history info to the main page