Inserting current swipe location into swipe bar
fixed jshint errors