end functions.php with newline, adjust map width on subsections and automatically open gallery subsection