turbolinks problem rectified using jquery turbolinks plugin and added jquery accodian to application. js and css avaoiding requiring all