automatically handle from-horizontal styling