added contentView in flat style