Fix sorting problems when not in list mode.
Use CSS animation when possible to make it lighter