Initial implementation of the deviation detailed view. Lots of UI improv...

...ements to add.