Question: I have a strange problem on a small page I made.

When the content extends the height of the browser and I scroll down fast, the pixelated box appears for a split of a second and then goes away.

[![](https://i.imgur.com/RVALU4H.png "Hosted by imgur.com")](https://imgur.com/RVALU4H)  

Why is this happening and how can I fix this?

Answer: 
The short answer is you can't.

The long answer is you can try to put a "minimum" and a "maximum" member, and check that the value falls in the range between the two... or some other similar trick.
You could put a switch statement in your DoSomething. 

```
switch(day){
case Day.Monday:
     // something
    break
...
default: 
    // ignore or something

```