Add simple element centering

Signed-off-by: Igor Yeryomin <yeryomin.igor@gmail.com>