Quick and easy gallery "n of m" display fix.

Gets rid of the 'niceLength' variable which never actually did anything and makes it so albums with less than 10 photos don't display an extra leading zero (which was the purpose of doing this).