lazy resize + bounds for dock.