gallery page is properly working

fix gallery menu for active state for category and post state

added fallback for category.php and content-single.php category is uncategorized

fix margin issue for thumbnail