If you want to turn off GIFs autoplaying on UpScrolled, navigate to:
Settings > Media.
You'll find a setting called "Auto play GIFs" with the option to be toggled on or off. If you would like to make sure GIFs don't play automatically, make sure the toggle is turned off (set to the left).