How the uphill fountain works