Added possibility to change movement's period