Changed animation test so that FPI can be modified

FPI can be increased/decreased by pressing up/down,
increase slows down animation, decrease accelerates it.
Boundaries are checked so no range errors happen (FPI == 0).