Added adjustContentSize method to adjust content view size while sheet is displayed