show nearest photo first