fixing JS syntax
turning on Maximize button
removing fixed size of the tile vieport
removing unused code
Merge pull request #2052 from aleksandra-tarkowska/rebased/dev_5_0/maximize_big_image

Maximize big image (rebased onto dev_5_0)