remove gesture code which is deprecated