added jquery&styles for image viewing