VerticalFlowLayout improvements
Minor code refactoring