Made next/previous random, and limited photos to 50