Hey, it's a good question to ask and a good attitude to have! It's confusing for everyone at first.

The reason for the 5 is to speed the animation up. It's a percent that goes from 0 to 100, and then loops back around (that's what the modulo operator does (%)). The 5 is just to speed how fast the animation goes from 0 to 100% (5 times faster).