moved tab javascript to auto js
moved tab js
only show selected images in edit mode