Frontend: Optimize animations

Signed-off-by: Jerome Flesch <jflesch@gmail.com>