Documentation framework toggle should stick
# What does this PR do?

This PR adds the following feature: when clicking on a `PyTorch` or `TensorFlow` button in the documentation in order to show the corresponding framework code sample, the toggle takes effect on all the current pages' code samples.

TensorFlow users won't need to click on every code sample to convert it to TensorFlow anymore!