display the right join group button

This is not quite working but I think it is not my fault.