Added vertical support to FlowLayout

FlowLayout now extends LinearLayout