Added layout to panels