auto resize video and pause on section change.