make custom panel slide out sideways