Fixed a bug in vertical aligning. Updated example