1.Refactoring.
2.Add fade in/out effect on selected images