A note on the classical brachistochrone