adjustable template for toggle items

helps to customize menu logic