refactor detail and growl views