Move collapsed and autoscroll to metadata