added calc for main height, don;t like it as it depends on a hard coded 60px for the menu but it appears to work