Ok so I think I got why the phone does it; it can't choose between CPU and GPU rendering so it glitches up switching between the two. To stop it you've got to go in to your developer settings, it worked a little for me, the flickering doesn't occur as much and when locked and unlocked the screen...