Added time based animation and FPS counter