can now specify delay parameter for changing of random photos