Trebuchet : Fix dynamic padding

Improves dynamic padding based on cellcount / screen size.

Change-Id: Ib1c9419a39ea2b3a62be9564373a713a411cb1cf