Beginning to implement custom JS for background gallery