No delay value smoother

It starts the loop and fades the LED. Serial resets the variable back to 0 and fades on the serial monitor from 0 to 255 on a +5 interval. How can I get it to roll back? To reverse after it hits 255 and to go back to 0.