Gif plays in view for playing gif. Also fixed bug where gifs where not displaying properly on home page