attach histdisplay on every diff load