added drag-and-drop javascript and structure for toggleable tabs