Callback added

Added a callback function in case the index.php partial is reloaded so
the slick carousel runs properly.