Smoother accordion effect