Some fixes and improvements

  - Move more image anno related code to img_swtr.js
  - Made respective components to load for different routes. Also logic for
    mounting/unmounting components in AppRouter.
    Each component should define a destroy function to unmount it properly.