updated alignment support for older browsers in display flex mode using extends