I made this script that adds a button to hide/show the media preview on the magazine view. Make sure you set Thread auto media preview to Yes.