Changing the Gallery index to look nicer and be more responsive.