show hide img func, cleaned doc.ready