Creating a view for playing gif.