Handle correctly slide in / slide out