code hides google maps until search occurs