padding for sort,reduce table borders, position changes for cog.  fixes #9283