make search overlay height dynamic