adding some ui animation stuff