refactored show view into partial

Fixes #113