tabs for admin and preview on click thumbnails