dynamic grid added, xaxis ticks fixed