nit: allowSwipeToClose