adding sliding pan search creteria