change note width when beat changes