modified layouts to display buttons at the bottom