[valign] extended the vertical align module for flexible aligning