Fixed full screen functionality for image module in HTMLModule.

TNL-265

Full screen functionality was not working when user navigate to image module by using navigation bar or next button.

Actually the script which was loading the full screen image modal was executed only on page load.

Ticket: https://openedx.atlassian.net/browse/TNL-265