Layout fixes to AP main screen. Applied patch from Deepak Dixit, part of OFBIZ-3035 (https://issues.apache.org/jira/browse/OFBIZ-3035)