added the deprecated gesture method until fully refactor other components