Click on the expand gallery icon in the upper right corner of the gallery window.