create vertical align method that can be reused

takes outter control id and inner control id as arguments