[chore] modifications to the alignment demo to fix layout issues and to ...

I had to make some modifications to the alignment demo to fix layout issues and to get the example working.

@donnapep please review and merge. thanks