adaptive layout added