Flip media annotations when flipping the board.

Please note that I haven't touched the minified version of the script.