-added a toggle to the filter if filter components are present in the query string
-merged with mlittle's changes