Formatted some code and make the detail views scrollable