added animation and gift placing code