UI improvements to layout. Fixes for resource view on desktop/tablet/phone.