Sloshing in a closed domain under unidirectional excitation