The grey bar is not related to list or library control
Check this - it will return the buttons on the toolbar - you can make them visible or invisible.
fd.control("ListOrLibrary").buttons
I assume you cannot remove it because the elemenets inside has its height and width. You can check the developer console and check the elements if you can do something with it