A container shown in figure is accelerated horizontally with acceleration a . Find the minimum value of a at which liquid just starts spilling out.