move selection box to a controller