added animation changes based on movement