Added dynamic gesture support