made modifications to swipe header and json rendering