Hide the neccessary divs outside of ajax call in fetchPhoto