Fixed margins and ToggleProject function