title: help needed for making a calendar like MS Outlook?
body: <p>i am doing work on an app like MS Outlook Calender where user can put events etc.
  i am having problem with event object layout according to size etc. as user can drag and re size the event object in MS outlook calender and the size of event objects sets automatically.</p>
  
  <p>i need the algorithm for doing so i have write my own but there are several problems help needed.</p>
  
  <p>this screen shot will show the event object arrangement that is dynamic.<img src="https://i.stack.imgur.com/qoayD.jpg" alt="alt text">  </p>