Testing to see if visibility of captions are affected by js on slide change