redraw selection when page resized