layout initial view correctly for mac