Include the code for the gallery and the NAV in a single table; or define a new style to align the nav to the right and link to it within the page. Or you could just use the div command within the page itself, but that doesn't seem to agree with W3C.