made a change to the history script. Fix the popup content for mobile.