Stochastic angular momentum slews and flips and their effect on discs in galaxy formation models