Added slider filtering functionality