Added two additional config parameters and debounced the scroll event handling on 'theater' elements.