British film im looking for

Its kind of like trainspotting, lots of drug taking and stuff, and i remember a pretty iconic scene towards the end where the main guys wanking and his mum walks in on him? Only bits and peices, i was only a kid when i watched it