Switched from ArrayList to LinkedList from headers and dividers cache

Since you make frequent add and remove it could be more efficient to use LinkedList instead of ArrayList. 

What do you think about?