Moved layout change to TwbCoreComponent::beforeRender() method to control it from controller