loader issue with detail view