Fixes category view on shortcodes

Shortcodes for categories now use the view mode set for the specific category used in the shortcode
Merge pull request #773 from misulicus/patch-6

Fixes category view on shortcodes