Added support for the resize flag that keeps the last container resized all the way to the bottom when changing the view size