pull sidebar script into view