frozen div flows beyond the height of the view

the frozen div was visible past outside the boundary of the grid view.