Add callback for photo slide event