This has happened to me in the past as well. I was using an HTC One M8.
I've noticed when I switch from mobile to the desktop view (my preferred layout for mobile) it glitches like this for a little bit. Closing my phone's browser (chrome) and reopening seems to make it go away, but it hasn't happened in quite a long time.