add callback to slide menu