fixed items snapping to bottom of the list when resizing window