margin calculations
added margins to the menu