[Header] Create transparent collapsable border and fix JS.