(bug 52225) Some javascript and css fix for IE7

1. clone() breaks the flyout layout in IE7
2. inline-block needs some adjustment for IE7

Change-Id: I014318aacb15000f132c4e4af74f5ea40a064712
Merge "(bug 52225) Some javascript and css fix for IE7"