fixed imageLoaded selector
refactor and detail view