Hide and show fixed elements on first or last capture