Refactor/detail page

@FransTwisk Do we need this commented? Can we remove the code?