toggling image visibility; closes #26