changed AJAX request, removed animations WIP putting them back in, placed nav-bar in layout.erb and add request filter for rendering index in app.rb