Anne Hathaway has just solved our summer hair dilemma