create custom animation of popup