Consolidated more code into foodfinder.js
Created distinct functions for the show/hide functionality