Added $(document).ready function to initiate slides