Adds option to always display sub-menu items or only when parent is active
Changes depth to list type parameter