fix gridview margins considering scrollbars

Authored by mart on Dec 17 2018, 5:43 PM.