this simple demo saves the user's start position in a cookie