remove unused variable warning
add basic sprite animation functionality