set number of child view controllers to 2
add a limited pan gesture recognizer that ends a gesture one a certain distance is reached