fixing links, making term selection scroll