render gallery & try to fix margin-right for images