margin added so that the ticks are not hidden