added show and hide for search