Finishing up search and dropdown functionality