add extra view kwargs functionality and move bootstrap to function
remove trailing comma
Merge pull request #936 from dimagi/ptop-fast-cleanup

add extra view kwargs functionality and move bootstrap to function