Refactor side content

refactored all side content into a wrapper div
simplified table structure