Layout and CSS optimization and image path fix for PhoneGap app.