fix page navigation error when there is no directory
fix page navigation error when there is no directory

tankywoo/simiki,tankywoo/simiki,9p0le/simiki,zhaochunqi/simiki,9p0le/simiki,tankywoo/simiki,9p0le/simiki,zhaochunqi/simiki,zhaochunqi/simiki