1. those classes do indicate the state: "fit-to-screen" and "zoomed" are in fact states for the modal image.

2. removed query show() and hide()