general layout of views