We should know what it is the origin of 40 

```js
// This step is used to reduce the number of
// opacity changes as the swipe transition occurs on
// the home screen. The goal is to improve performance.
var OPACITY_STEPS = 40; // opacity steps between [0,1]
```