move and resize log window