Removing items from Finder Toolbar
I remember seeing that from time to time in the past. Just command click, hold, and drag them off. 

They have removed that weird feature in Yosemite (and perhaps earlier.)