optimized panel slide. closes on click.
resolved merge conflicts