Make leftVisibleClass/rightVisibleClass optional