_s: Removed _s_the_attached_image function and modified the keyboard ima...

and modified the keyboard image navigation to use prev/next links

Simplified code and avoid JS issue with keyboard nav