Set onclicklisteners on arrows too.