Removed navigation (next/prev arrows) on the gallery when there is only one image in the gallery

A check is done for the number of images just before the arrows are rendered, and on clicking the close button
(Was a request in the issues)