move animation code to service
erase commentedout text