not working back button but basic history catch is in there, needs refinement