Updated device scaling engine & fixes

- Updated the device scaling engine to support many more screen sizes
and configurations.
- Fixed some issues with the animations under mobile platforms.
- Fixed an issue where the download menu did not appear under Android
- UI improvements in the Chat interface under mobile systems.
- Fixed some issues with the preferences sheet under mobile devices.