boilerplate for some touch and animation