Gallery slider category fix