Fix animation smoothness and indenting

Signed-off-by: Constantin MUSCĂ <constantin.musca@gmail.com>