add dependent restrict for categories.
add categories to menu
minor view fixes