Added constant to enable / disable transitions between layouts