added instance field for sliding animation