show-hide the inactive images