Add categories tabs in variable details page
Removed dead code