Spraying and sloshing of liquid along a surface with static in the background