fixed animation and active pages