Fixed image gallery

Also when viewing photos you have to click the arrow on the first
picture twice to view the next one. If you notice there is also a thin
black line that appears on both the arrow and the x to exit album.