gui stuff for history view