rm swp and update device-width