element prototype and animations