There should definitely be a button to exit the sex animations in the gallery. The end panels show fine, but the scenes themselves make me restart the gallery before moving on. Minor, but a little annoying.
There IS an end button. Keep pressing up and down to switch gallery animation states. This is explained by the signs as well.