Added auto center element

By dirty way!