Panel collapse/expand plugin added

Some basic formatting also added to panel pattern