trying out the layout with transition effect