Fixed margin size for grid items and moved ondrag callbacks