changed layout added animation