make detail view work, add stylesheet