added css transition support via aniMethod argument