add constants.h and auto slide after receiving callback
 about to integrate AV overlay