Update positioning of main section