Image popup refactoring
Updated close button, JS tidy
Fallback for small screen close button hiding