add bootstrapswitch, working on file preview