Abstract ImageFragment and implement animation fragment

add class to implement animation of image.