Added bottom and top align.

Better description in the demo.html