Added animation on image in detail view and fixed some errors.