refactor the code to have a close and open function
refactor the code to have a close and open function

dsandstrom/foundation,zurb/foundation,r14r/fork_foundation_master,wikieswan/foundation,Owlbertz/foundation,vita10gy/foundation,claytonrodgers/foundation,djlotus/foundation,MarcGuay/foundation,adstyles/foundation,ysalmin/foundation,Mango-information-systems/foundation,gnepal7/foundation,zurb/foundation-sites,RichardLee1978/foundation,sitexa/foundation,hummingbird-me/foundation-sites-6,lizzwestman/foundation,jxnblk/foundation,dimamedia/foundation-6-sites-simple-scss-and-js,denisahac/foundation-sites,MarcGuay/foundation,a-dg/foundation,Klaudit/foundation,glizer/foundation,jeromelebleu/foundation-sites,robottomw/foundation,Larzans/foundation,dragthor/foundation-sites,iwikmu/foundation,RichardLee1978/foundation,joe-watkins/foundation,denisahac/foundation-sites,RichardLee1978/foundation,glunco/foundation,a-dg/foundation,jamesstoneco/foundation-sites,mbencharrada/foundation,elkingtonmcb/foundation,claytonrodgers/foundation,karland/foundation-sites,PassKitInc/foundation-sites,glunco/foundation,wikieswan/foundation,ibroadfo/foundation,stanwmusic/foundation,hboers/foundation,dragthor/foundation-sites,robottomw/foundation,aoimedia/foundation,djlotus/foundation,dimamedia/foundation-6-sites-simple-scss-and-js,anbestephen/foundation,advisorwebsites/foundation-sites-6,abdullahsalem/foundation-sites,vrkansagara/foundation,signal/foundation,oller/foundation,barnyp/foundation,NikhilKalige/foundation,stanwmusic/foundation,ysalmin/foundation,glizer/foundation,ysalmin/foundation,labr1005/foundation,joe-watkins/foundation,JihemC/Foundation-Demo,carey/foundation,jlegendary/foundation,blai/foundation,r14r-work/fork_foundation_master,djlotus/foundation,vita10gy/foundation,djlotus/foundation,aoimedia/foundation,designerno1/foundation-sites,ysalmin/foundation,claytonrodgers/foundation,Teino1978-Corp/Teino1978-Corp-foundation,Klaudit/foundation,andycochran/foundation-sites,DouglasAllen/css-foundation,jamesstoneco/foundation-sites,colin-marshall/foundation-sites,birthdayalex/foundation,pauleds/foundation,wikieswan/foundation,glunco/foundation,getoutfitted/reaction-foundation-theme,barnyp/foundation,socketz/foundation-multilevel-offcanvas,natewiebe13/foundation-sites,claytonrodgers/foundation,pwnall/foundation-sites,sethkane/foundation-sites,laantorchaweb/foundation,oller/foundation,Klaudit/foundation,a-dg/foundation,pdeffendol/foundation,barnyp/foundation,iwikmu/foundation,labr1005/foundation,karland/foundation-sites,barnyp/foundation,pwnall/foundation-sites,carey/foundation,asommer70/foundation,hummingbird-me/foundation-sites-6,pauleds/foundation,jaylensoeur/foundation-sites-6,samuelmc/foundation-sites,PassKitInc/foundation-sites,stanwmusic/foundation,gnepal7/foundation,Larzans/foundation,jxnblk/foundation,jamesstoneco/foundation-sites,joe-watkins/foundation,dsandstrom/foundation,glizer/foundation,abdullahsalem/foundation-sites,Ilyes512/foundation,yohio/foundation-sites-6,sitexa/foundation,mbarlock/foundation,2fd/foundation-stylus,Owlbertz/foundation,natewiebe13/foundation-sites,socketz/foundation-multilevel-offcanvas,youprofit/foundation,signal/foundation,adstyles/foundation,glunco/foundation,asommer70/foundation,pdeffendol/foundation,r14r-work/fork_foundation_master,getoutfitted/reaction-foundation-theme,NeonWilderness/foundation,r14r/fork_foundation_master,sethkane/foundation-sites,pauleds/foundation,DaSchTour/foundation-sites,Klaudit/foundation,ucla/foundation-sites,birthdayalex/foundation,iwikmu/foundation,gnepal7/foundation,IamManchanda/foundation-sites,walbo/foundation,Ilyes512/foundation,carey/foundation,karland/foundation-sites,jlegendary/foundation,zurb/foundation-sites-6,adstyles/foundation,signal/foundation,MarcGuay/foundation,elkingtonmcb/foundation,mbencharrada/foundation,ioanok/foundation,themccallister/foundation,573/foundation,celsoyh/foundation,birthdayalex/foundation,NeonWilderness/foundation,rxfork/foundation,carey/foundation,signal/foundation,abdullahsalem/foundation-sites,DouglasAllen/css-foundation,socketz/foundation-multilevel-offcanvas,samuelmc/foundation-sites,jeromelebleu/foundation-sites,anbestephen/foundation,leo-guinan/foundation,mbarlock/foundation,robottomw/foundation,Teino1978-Corp/Teino1978-Corp-foundation,themccallister/foundation,ibroadfo/foundation,Iamronan/foundation,vrkansagara/foundation,JihemC/Foundation-Demo,jxnblk/foundation,BerndtGroup/TBG-foundation-sites,vrkansagara/foundation,iwikmu/foundation,themccallister/foundation,atmmarketing/foundation-sites,vrkansagara/foundation,Larzans/foundation,youprofit/foundation,samuelmc/foundation-sites,r14r/fork_foundation_master,sethkane/foundation-sites,IamManchanda/foundation-sites,RichardLee1978/foundation,JihemC/Foundation-Demo,ucla/foundation-sites,jaylensoeur/foundation-sites-6,wikieswan/foundation,BerndtGroup/TBG-foundation-sites,r14r/fork_foundation_master,DaSchTour/foundation-sites,robottomw/foundation,NeonWilderness/foundation,jxnblk/foundation,Mango-information-systems/foundation,aoimedia/foundation,asommer70/foundation,Owlbertz/foundation,NikhilKalige/foundation,blai/foundation,PassKitInc/foundation-sites,Larzans/foundation,ibroadfo/foundation,glizer/foundation,getoutfitted/reaction-foundation-theme,mbencharrada/foundation,asommer70/foundation,brettsmason/foundation-sites,ioanok/foundation,celsoyh/foundation,NeonWilderness/foundation,lizzwestman/foundation,MarcGuay/foundation,youprofit/foundation,natewiebe13/foundation-sites,r14r-work/fork_foundation_master,marcosvicente/foundation,sitexa/foundation,walbo/foundation,pwnall/foundation-sites,zurb/foundation,andycochran/foundation-sites,zurb/foundation-sites,pdeffendol/foundation,gnepal7/foundation,pauleds/foundation,DouglasAllen/css-foundation,marcosvicente/foundation,sitexa/foundation,elkingtonmcb/foundation,jlegendary/foundation,JihemC/Foundation-Demo,dragthor/foundation-sites,andycochran/foundation-sites,laantorchaweb/foundation,denisahac/foundation-sites,youprofit/foundation,labr1005/foundation,laantorchaweb/foundation,walbo/foundation,anbestephen/foundation,0111001101111010/foundation,0111001101111010/foundation,brettsmason/foundation-sites,lizzwestman/foundation,stanwmusic/foundation,Teino1978-Corp/Teino1978-Corp-foundation,leo-guinan/foundation,Iamronan/foundation,ucla/foundation-sites,joe-watkins/foundation,designerno1/foundation-sites,birthdayalex/foundation,mbarlock/foundation,rxfork/foundation,advisorwebsites/foundation-sites-6,r14r-work/fork_foundation_master,0111001101111010/foundation,DouglasAllen/css-foundation,Ilyes512/foundation,celsoyh/foundation,mbencharrada/foundation,marcosvicente/foundation,BerndtGroup/TBG-foundation-sites,lizzwestman/foundation,adstyles/foundation,vita10gy/foundation,ibroadfo/foundation,Teino1978-Corp/Teino1978-Corp-foundation,hboers/foundation,zurb/foundation,a-dg/foundation,brettsmason/foundation-sites,yohio/foundation-sites-6,laantorchaweb/foundation,NikhilKalige/foundation,walbo/foundation,leo-guinan/foundation,labr1005/foundation,elkingtonmcb/foundation,IamManchanda/foundation-sites,colin-marshall/foundation-sites,anbestephen/foundation,marcosvicente/foundation,zurb/foundation-sites,jlegendary/foundation,jeromelebleu/foundation-sites,pdeffendol/foundation,oller/foundation,designerno1/foundation-sites,573/foundation,sashaegorov/foundation-sites,atmmarketing/foundation-sites,vita10gy/foundation,mbarlock/foundation,Mango-information-systems/foundation,Owlbertz/foundation,sashaegorov/foundation-sites,Iamronan/foundation,atmmarketing/foundation-sites,sashaegorov/foundation-sites,jaylensoeur/foundation-sites-6,celsoyh/foundation,colin-marshall/foundation-sites,zurb/foundation-sites-6,leo-guinan/foundation,ioanok/foundation