change logic on chevron glyphicon