updated p height for slider