Pretty elegant detection of selection box