adding show hide spatial dropdown functionality to load search