Sure, UKIP voters returning to Labour after they'd made a manifesto commitment to a meaningful Brexit was certainly a factor too.
Of course there's plenty more than Brexit at play. The disaster of the housing market and a sense that austerity (while once a necessity) has gone on for too long, for kick off.