Add dragright and dragleft handlers