Improve post-fullscreen panel/image sizing logic

Also deletes custom event that should have been cleaned up before

Change-Id: I531a9cb068b0ae26ea0c3b46d8fdad84068c6931
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/569
Merge "Improve post-fullscreen panel/image sizing logic"