make grid style adjustable