more stable version with ipad friendly layout