layout modifications and togglebar