Configure layout and bootstrap layout