Added TODO for seeking previous and next picture ids
Improved logic for picture browsing