Fixing Display property for expanded