naive fix open and close animations NPE in touch listener

When flinging some items can be null and listener's open and close animation methods could crash. Naive fix is to add null checking "if" expression.