history,home,search fix, collapsing border fix