working on selection resize