How can achieve slider-in as per the attachment