Removed some circular redirects and unused code

The previous optimization was causing images with wrong URLs on older
blog posts not to show. The image URLs were corrected in DB instead of
using an .htaccess hack
Faster animations for categories

Also some transition adjustments and added easing;