Setting up opacity animation option