add overflow menu when there's not enough space for 3 icons