Added custom animation and modal width options