Also Fixed Bootstrap code for index and gallery:
called it properly