Revert "Waving of images" change
Remove fading of thumbnail properties
Beautify code a bit