don't allow scrolling when there's no maxHeight set